package com.shopx.auth.service;

import com.shopx.auth.bean.SysRoleUrl;
import com.shopx.auth.model.SysRoleUrlModel;
import com.shopx.base.exception.ShopxException;
import com.shopx.cmm.DTO.PageDTO;

/**
 * @author lituo
 * @className: ISysRoleUrlService
 * @description: 角色菜单
 * @date 2021/12/5 10:42 AM
 */
public interface ISysRoleUrlService {

  /**
   * 新增记录
   *
   * @param sysRoleUrl
   * @return int
   * @author lituo
   * @date 3:19 PM 2021/12/5
   */
  int insertSelective(SysRoleUrl sysRoleUrl) throws ShopxException;

  /**
   * 删除记录
   *
   * @param sysRoleUrl
   * @return int
   * @author lituo
   * @date 3:19 PM 2021/12/5
   */
  int deleteByPrimaryKey(SysRoleUrl sysRoleUrl) throws ShopxException;

  /**
   * 查询明细记录
   *
   * @param sysRoleUrl
   * @return com.shopx.auth.model.SysRoleUrlModel
   * @author lituo
   * @date 3:19 PM 2021/12/5
   */
  SysRoleUrlModel selectByPrimaryKey(SysRoleUrl sysRoleUrl) throws ShopxException;

  /**
   * 修改记录
   *
   * @param sysRoleUrl
   * @return int
   * @author lituo
   * @date 3:19 PM 2021/12/5
   */
  int updateByPrimaryKeySelective(SysRoleUrl sysRoleUrl) throws ShopxException;

  /**
   * 查询列表
   *
   * @param sysRoleUrlModel
   * @return com.shopx.cmm.dto.PageDTO<com.shopx.auth.model.SysRoleUrlModel>
   * @author lituo
   * @date 3:19 PM 2021/12/5
   */
  PageDTO<SysRoleUrlModel> getListPage(SysRoleUrlModel sysRoleUrlModel) throws ShopxException;

}

